package com.j180.config;

import com.fasterxml.jackson.databind.ObjectMapper;
import org.springframework.cache.annotation.CacheConfig;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

@Configuration
@ComponentScan(basePackages = "com.j180.*")
public class RootConfig {

    @Bean
    public ObjectMapper getObjectMapping(){

        return new ObjectMapper();
    }
}
